#include <iostream>

using namespace std;

int main()
{
    char data[1001];
    while ( cin.getline( data, sizeof( data ) ) )
    {
        int i;
        for ( i = 0; i < strlen( data ); i++ )
        {
            if ( data[ i ] >= 'A' && data[ i ] <= 'Z')
                cout << char( data[ i ] - 'A' + 'a' );
            else cout << data[ i ];
        }
        cout << endl;
    }
    return 0;
}
